package algorithm.weightgraph;

public abstract class AbstractGraph<Weight extends Number&Comparable> implements Graph<Weight> {

    protected int pointNums;

    protected int edgeNums;

    protected boolean directed;

    @Override
    public int getEdgeNums() {
        return this.edgeNums;
    }

    @Override
    public int getPointNums() {
        return this.pointNums;
    }
}
